﻿using GalaSoft.MvvmLight;
using System.Windows.Media.Imaging;

namespace Model
{
    /// <summary>
    /// This class contains properties that a View can data bind to.
    /// <para>
    /// Use the <strong>mvvminpc</strong> snippet to add bindable properties to this ViewModel.
    /// </para>
    /// <para>
    /// See http://www.galasoft.ch/mvvm/getstarted
    /// </para>
    /// </summary>
    public class TileModel : ViewModelBase
    {
        /// <summary>
        /// Initializes a new instance of the TileModel class.
        /// </summary>
        public TileModel()
        {

            _Title = "";
            _Message = "";
            _Source = new BitmapImage();
        }

        private string _Title;
        public string Title
        {
            get { return _Title; }
            set
            {
                _Title = value;
                this.RaisePropertyChanged("Title");
            }
        }

        private string _Message;
        public string Message
        {
            get { return _Message; }
            set
            { 
                _Message = value;
                this.RaisePropertyChanged("Message");
            }
        }

        private BitmapImage _Source;
        public BitmapImage Source
        {
            get { return _Source; }
            set
            {
                _Source = value;
                this.RaisePropertyChanged("Source");
            }
        }

        

    }
}